home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Source / PacMan / InfoController.h < prev    next >
Encoding:
Text File  |  1992-08-17  |  1018 b   |  32 lines

  1.  
  2. // This object handles all the nifty stuff in the Info> menu, like the various
  3. // panels, the registration type of stuff, and the suggestions via mail.  It
  4. // uses the same mail API as Opener, so it breaks under 3.0.  I'll fix it when
  5. // I get 3.0.  Until then, tough luck...
  6.  
  7. #import <objc/Object.h>
  8.  
  9. #define unRegSerial "NREG"
  10. #define versionString "1.2"
  11.  
  12. @interface InfoController:Object
  13. {
  14.     id    infoPanel;
  15.     id    helpPanel;
  16.     id    licensePanel;
  17.     id    READMEPanel;
  18. }
  19.  
  20. - init;                    // make a new instance.
  21. - infoPanel;            // return the infoPanel, or load it.
  22. - helpPanel;            // return the helpPanel, or load it.
  23. - licensePanel;            // return the licensePanel, or load it.
  24. - readmePanel;            // return the readmePanel, or load it.
  25. - info:sender;            // make the info panel be up there.
  26. - help:sender;            // make the help panel be up there.
  27. - license:sender;        // make the license panel be up there.
  28. - readme:sender;        // make the readme panel be up there.
  29. - suggestion:sender;    // This is pretty much lifted from Opener.
  30.  
  31. @end
  32.